package kr.hkit.powerjava.chapter06.work2;

public class For_work01a {
	public static void main(String[] args) {
		
		// 기존 방식
		int sum = 0;
		for (int i=1; i<=100; i++) 
			sum += i;
		System.out.println(sum);
	}
}
